export const setting = (params, config = {}) => uni.$uv.http.post('/api/setting', params, config)
export const sendSms = (params, config = {}) => uni.$uv.http.post('/api/send/sms', params, config)
export const upload = (params, config = {}) => uni.$uv.http.upload('/api/upload', params, config)

export const register = (params, config = {}) => uni.$uv.http.post('/api/register', params, config)
export const login = (params, config = {}) => uni.$uv.http.post('/api/login', params, config)

export const userLogout = (params, config = {}) => uni.$uv.http.post('/api/user/logout', params, config)
export const userInfo = (params, config = {}) => uni.$uv.http.post('/api/user/info', params, config)
export const userEdit = (params, config = {}) => uni.$uv.http.post('/api/user/edit', params, config)
export const userEditPassword = (params, config = {}) => uni.$uv.http.post('/api/user/edit/password', params, config)
export const userProduct = (params, config = {}) => uni.$uv.http.post('/api/user/product', params, config)
export const userLog = (params, config = {}) => uni.$uv.http.post('/api/user/log', params, config)
export const userSon = (params, config = {}) => uni.$uv.http.post('/api/user/son', params, config)

export const index = (params, config = {}) => uni.$uv.http.post('/api/index', params, config)
export const newLists = (params, config = {}) => uni.$uv.http.post('/api/new/lists', params, config)
export const newInfo = (params, config = {}) => uni.$uv.http.post('/api/new/info', params, config)

export const purchaseInfo = (params, config = {}) => uni.$uv.http.post('/api/purchase/info', params, config)
export const purchaseBuy = (params, config = {}) => uni.$uv.http.post('/api/purchase/buy', params, config)

export const orderLists = (params, config = {}) => uni.$uv.http.post('/api/order/lists', params, config)
export const orderInfo = (params, config = {}) => uni.$uv.http.post('/api/order/info', params, config)
export const orderSell = (params, config = {}) => uni.$uv.http.post('/api/order/sell', params, config)
export const orderCancel = (params, config = {}) => uni.$uv.http.post('/api/order/cancel', params, config)
export const orderSellList = (params, config = {}) => uni.$uv.http.post('/api/order/sell/list', params, config)
export const orderSellInfo = (params, config = {}) => uni.$uv.http.post('/api/order/sell/info', params, config)
export const orderSellBuy = (params, config = {}) => uni.$uv.http.post('/api/order/sell/buy', params, config)
export const orderPrice = (params, config = {}) => uni.$uv.http.post('/api/order/price', params, config)
export const orderOpen = (params, config = {}) => uni.$uv.http.post('/api/order/open', params, config)
export const orderDelivery = (params, config = {}) => uni.$uv.http.post('/api/order/delivery', params, config)


export const crowdfundingLists = (params, config = {}) => uni.$uv.http.post('/api/crowdfunding/lists', params, config)
export const crowdfundingInfo = (params, config = {}) => uni.$uv.http.post('/api/crowdfunding/info', params, config)
export const crowdfundingJoin = (params, config = {}) => uni.$uv.http.post('/api/crowdfunding/join', params, config)
export const crowdfundingJoinList = (params, config = {}) => uni.$uv.http.post('/api/crowdfunding/join/list', params,
	config)
export const crowdfundingRetrieve = (params, config = {}) => uni.$uv.http.post('/api/crowdfunding/retrieve', params,
	config)

export const composeLists = (params, config = {}) => uni.$uv.http.post('/api/compose/lists', params, config)
export const composeInfo = (params, config = {}) => uni.$uv.http.post('/api/compose/info', params, config)
export const composeOperate = (params, config = {}) => uni.$uv.http.post('/api/compose/operate', params, config)
export const composeRecord = (params, config = {}) => uni.$uv.http.post('/api/compose/record', params, config)


export const shopProductLists = (params, config = {}) => uni.$uv.http.post('/api/shop/product/lists', params, config)
export const shopProductInfo = (params, config = {}) => uni.$uv.http.post('/api/shop/product/info', params, config)
export const shopProductBuy = (params, config = {}) => uni.$uv.http.post('/api/shop/product/buy', params, config)

export const shopOrderLists = (params, config = {}) => uni.$uv.http.post('/api/shop/order/lists', params, config)

export const withdrawalGet = (params, config = {}) => uni.$uv.http.post('/api/withdrawal/get', params, config)
export const withdrawalPost = (params, config = {}) => uni.$uv.http.post('/api/withdrawal/post', params, config)
export const withdrawalMy = (params, config = {}) => uni.$uv.http.post('/api/withdrawal/my', params, config)